How to Install cppcheck software package in Debian 9 (Stretch)

How to Install cppcheck software package in Debian 9 (Stretch)

cppcheck software package provides tool for static C/C++ code analysis (CLI), you can install in your Debian 9 (Stretch) by running the commands given below on the terminal,

$ sudo apt-get update
$ sudo apt-get install cppcheck 

cppcheck is installed in your system.

Make ensure the cppcheck package were installed using the commands given below,

$ sudo dpkg-query -l | grep cppcheck *

You will get with cppcheck package name, version, architecture and description in a table

cppcheck package basic information:

Distro Debian 9 stretch
Section Development
Package cppcheck
Version 1.76.1-1
Description tool for static C/C++ code analysis (CLI)
Sub Section devel


See Also, How to uninstall or remove cppcheck software package from Debian 9 (Stretch)?